<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录界面</title>


<link rel="stylesheet" href="{{ url_for('static',filename='css/headerfooter.css')}}" />
<link rel="stylesheet" href="{{ url_for('static',filename='css/login.css')}}" />
<script src="{{ url_for('static',filename='js/jQuery-2.1.4.min.js')}}"></script>
</head>

<body>

	<div class="header">
            <div class="center">
                <div class="header_right">
                    <div class="header_time" id="dateTime"></div>
                    <p class="header_gonggao" style="display: none;"><a href="#">系统公告</a></p>
                </div>
                <div class="logo_pic">
                    <img src="{{url_for('static',filename ='images/headlogo.png') }}" class="logo" alt="">
                </div>
            </div>
        </div>
      <!--中间部分-->
      <div class="container">
      	<div class="banner">
        	<div class="banner-see" style="height: 100%; min-height: 400px;" >
           		<div class="banner-pic-lists">
                        <div class="banner-pic-list">
                        <img style="height: 100%; min-height: 400px;" alt="" src="{{url_for('static',filename ='images/banner-1.jpg')}}">
                        </div>
                </div> 	
            </div>
            <div class="login" style="top: 20%;">
            <div class="login_seen">
                <h3 class="login_header">
                    <span class="left active">密码登录</span>  
                </h3>
                 <div class="left-login">
                    <div class="login_form login_form1">
                        <div class="con">
                            <form id="fm1" action="{{url_for('login')}}" method="post">
                                <div class="form-error">
                                    
                                    <span class="form-tab-nav" id="swiSpan1" name="swiSpan_fm1">
                                        <span>
                                    </span>
                                </span></div>
                                <div class="fill_form username">
                                            <input name="username" tabindex="1" id="username" accesskey="" type="text" placeholder="工号/学号" value="" autocomplete="off">
                                    <p class="fill_form_other fill_form_other1"></p>
                                </div>
                                <div class="fill_form password">
                                   <input name="password" tabindex="2" class="wordpass" id="password" accesskey="" type="password" placeholder="密码 Password" value="" autocomplete="off">
                                   <p class="fill_form_other fill_form_other2"></p>
                                </div>
                                <div class="">
                                	<input name="danxuan" class="check_btn" type="radio" value="普通学生" />
                                    <span class="check_text">普通学生</span>
                                    <input name="danxuan" class="check_btn" type="radio" value="学校教师" />
                                    <span class="check_text">班级管理员</span>
                                    <input name="danxuan" class="check_btn" type="radio" value="学校教师" />
                                    <span class="check_text">学校教师</span>
                                    
                                </div>
                                <div>
                                     <input name="submit" tabindex="6" class="login_btn" id="passbutton" accesskey="l" onclick="return checkPassLogin();" type="submit" value="登     录">
                                </div>
                            </form>
                        </div>
                    </div>   
                </div>  
                <div>
                 <p class="login_other">
                        <a class="n1" href="http://cas.ahau.edu.cn/_web/_apps/ids/api/passwordRecovery/new.rst" target="_blank" 360chrome_form_autofill="2">找回密码</a>
                        <a class="n2" href="#" target="_blank" 360chrome_form_autofill="2"></a>
                        <a class="n3 last" href="http://wk.ahau.edu.cn/default/work/ahau_mmsssq/mmsssq/nmIndex.jsp" target="_blank" 360chrome_form_autofill="2">密码申诉</a>
                 </p>
				</div>            
			</div>
		</div>    
     </div>
  </div>
      
    <div class="footer" 360chrome_form_autofill="2">
    <div class="footer_container" 360chrome_form_autofill="2">
        <div class="footer_tishi" 360chrome_form_autofill="2">
            <div 360chrome_form_autofill="2">提示：1、用户名和密码与数字校园相同。</div><div 360chrome_form_autofill="2">2、新用户初始用户名和密码分别为工号/学号，身份证后6位；</div><div 360chrome_form_autofill="2">3、推荐使用浏览器Firefox、360浏览器、IE9以上。</div>
        </div>
        <div class="copyright" 360chrome_form_autofill="2">
            <img alt="" src="{{ url_for('static',filename='images/appcode.png')}}" 360chrome_form_autofill="2"><span>智慧安农APP</span>
        </div>
    </div>
</div>
      
      <script src="js/head.min.js"></script>
      <script src="js/haiguan.js"></script>
      <script src="js/cas.js" type="text/javascript"></script>
      <script language="javascript" type="text/javascript">
    $(document).ready(function() {
        cover();
        $(window).resize(function() {
            cover();
        });
    });
    function cover() {
        var win_width = $(window).width();
        var win_height = $(window).height();
        var boxheight = $(".wrapper").height();
        var brandheight = $(".brand").height();
        $(".wrapper").css("top", (win_height - boxheight) / 2);
        $(".brand").css("margin-top", (win_height - boxheight) / 2-80);
        $("#bg").attr({ width: win_width, height: win_height });
    }
    
		</script>
		<script src="js/security.js" type="text/javascript"></script>
		<script src="js/login.js" type="text/javascript"></script>
	<script>
        Date.prototype.format = function (fmt) {
            var o = {
                "y+": this.getFullYear, //年
                "M+": this.getMonth() + 1, //月份
                "d+": this.getDate(), //日
                "h+": this.getHours(), //小时
                "m+": this.getMinutes(), //分
                "s+": this.getSeconds() //秒
            };
            if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
            for (var k in o)
                if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
            return fmt;
        }
        setInterval("document.getElementById('dateTime').innerHTML = (new Date()).format('yyyy年MM月dd日 hh:mm:ss');", 1000);
    </script>
</body>
</html>
